Skip to content

fix(quickstart): correct CLI commands and card visibility#140

Merged
omsherikar merged 1 commit into
mainfrom
fix/quickstart-cli-and-visibility
May 18, 2026
Merged

fix(quickstart): correct CLI commands and card visibility#140
omsherikar merged 1 commit into
mainfrom
fix/quickstart-cli-and-visibility

Conversation

@omsherikar
Copy link
Copy Markdown
Collaborator

Two fixes to the landing page's Quickstart section (src/components/QuickstartSection.tsx).

1. Stale CLI commands

The snippet used v1-era names that no longer exist in Refactron — anyone copy-pasting would hit "unknown command". Updated both the npm and pip tabs:

Before After
refactron refactor . --preview refactron run --dry-run .
refactron refactor . --verify refactron run --apply .

(analyze is unchanged.)

2. Card not fully visible

The card content sat at z-10, beneath the section's z-20 top/bottom black-fade gradients — so the card's edges were darkened. Lifted the card to z-30 so it renders above the gradients. The gradients still fade the ASCII backdrop behind it.

Verified: eslint and prettier --check both clean.

- The command snippet used v1-era names (`refactron refactor . --preview`
  / `--verify`) that no longer exist. Update both the npm and pip tabs to
  the current CLI: `analyze`, `run --dry-run`, `run --apply`.
- The card sat at z-10 beneath the section's z-20 top/bottom fade
  gradients, so its edges were darkened. Lift the card to z-30 so it
  renders above the gradients and is fully visible.
Copilot AI review requested due to automatic review settings May 18, 2026 10:26
@vercel
Copy link
Copy Markdown

vercel Bot commented May 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
refactron Ready Ready Preview, Comment May 18, 2026 10:27am

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 18, 2026

Warning

Rate limit exceeded

@omsherikar has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 43 minutes and 19 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b12d0f69-0678-43bf-a27d-370f62604aa0

📥 Commits

Reviewing files that changed from the base of the PR and between 9aa7877 and e3ab8fb.

📒 Files selected for processing (1)
  • src/components/QuickstartSection.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/quickstart-cli-and-visibility

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

⚠️ Deprecation Warning: The deny-licenses option is deprecated for possible removal in the next major release. For more information, see issue 997.

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the landing page Quickstart section to reflect current Refactron CLI usage and fixes the section layering so the quickstart card is not dimmed by gradient overlays.

Changes:

  • Replaces stale refactron refactor quickstart commands with refactron run --dry-run and refactron run --apply.
  • Updates command comments for clearer quickstart guidance.
  • Raises the quickstart content container above section fade overlays.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Copy Markdown

👋 Thanks for opening this pull request! A maintainer will review it soon. Please make sure all CI checks pass.

@omsherikar omsherikar merged commit 2f449f2 into main May 18, 2026
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:feature New feature type:refactor Code refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants